import React, { Component } from 'react';
import { View, ScrollView } from 'react-native';
import { Label } from 'iftide';
import Demo1 from './demo/Demo1';
import Demo2 from './demo/Demo2';

export default class Calendar_Demo extends Component{
    render(){
        return(
             <View style={{height: '100%',flex:1}}>
                <ScrollView>
                    <View >
                        <Label text = '周/月视图' fontWeight={'bold'} textDecorationLine={'underline'}/>
                    </View>
                    <Demo1/>

                    <View >
                        <Label text = '基本用法' fontWeight={'bold'} textDecorationLine={'underline'}/>
                    </View>
                    <Demo2/>
                </ScrollView>
            </View>
        )
    }
}